package com.nc.mem.tests.array;

import java.util.Arrays;

public class Holder {

	Object[][] o = new Object[][]{ { "A" }, { "B", "C" } };

	@Override
	public boolean equals(final Object obj) {
		if (this == obj) {
			return true;
		}
		if (obj == null) {
			return false;
		}
		if (getClass() != obj.getClass()) {
			return false;
		}
		final Holder other = (Holder) obj;
		if (!Arrays.equals(o, other.o)) {
			return false;
		}
		return true;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + Arrays.hashCode(o);
		return result;
	}

	@Override
	public String toString() {
		return "Holder [o=" + Arrays.toString(o) + "]";
	}

}
